#include "dog.h"

#include <iostream>
#include <string>

using std::string;

namespace Animal {

Dog::Dog() { std::cout << "----- Dog() constructor -----" << std::endl; }

Dog::Dog(string dogName) : Animal(dogName) {
  std::cout << "----- Dog(string) constructor -----" << std::endl;
}

Dog::~Dog() { std::cout << "----- Dog destructor -----" << std::endl; }

string Dog::Play() { return name + "在玩球"; }

string Dog::getShoutSound() { return "汪"; }

}  // namespace Animal